var AdfCopyright="Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.",AdfBootstrap={};Date.prototype.equals=function(a){var b=!1;a.getUTCDate&&(b=this.valueOf()==a.valueOf());return b};AdfBootstrap._startTime=(new Date).getTime(); var AdfStrings={COMMA:",",START_CURLY_BRACKET:"{",CLOSE_CURLY_BRACKET:"}",EQUALS:"\x3d",count:function(a,b){AdfAssert.assertString(a);AdfAssert.assertNonEmptyString(b);for(var c=0,d=0,e=a.length,f=b.length;dd)return!1;var f=c?1:-1;for(c=c?0:d;c=this._level};AdfLogger.prototype.getName=function(){return this._loggerName};AdfLogger.prototype.getLogWriter=function(){return this._logWriter};AdfLogger.prototype.setFilter=function(a){AdfAssert.assertFunctionOrNull(a);this._filter=a};AdfLogger.prototype.getFilter=function(){return this._filter}; AdfLogger.prototype.log=function(a){AdfAssert.assert(a);a.levelc)return b;a[0]&&(b+="\t\t\t\x3cdescription\x3e\x3c![CDATA["+a[0]+"]]\x3e\x3c/description\x3e\n");a[1]&&(b+="\t\t\t\x3ctimestamp\x3e"+a[1]+"\x3c/timestamp\x3e\n");a[2]&&(b+="\t\t\t\x3ctiming\x3e"+a[2]+"\x3c/timing\x3e\n");for(i=3;i/g,"\x26gt;");return a=a.replace(/\n/g,"\x3cbr\x3e")}; AdfConsoleLogWriter.prototype.FormatError=function(a){if(!a)return"";var b="",c=!0,d;for(d in a)if(d!=d.toUpperCase())try{var e=a[d];if("function"!=typeof e){var f=e;if("stack"==d&&"string"==typeof e){for(var f="\x3col\x3e",g=AdfConsoleLogWriter._GECKO_STACK_RE,h;h=e.match(g);){var f=f+"\x3cli\x3e",k=h[0],l=-1,m=k.lastIndexOf(":");-1!=m&&(l=k.lastIndexOf("@"));if(-1!=l){l++;var f=f+k.substring(0,l),n=k.substring(l,m),l=n,p=n.lastIndexOf("/");-1!=p&&(l=n.substring(p+1));var q="target\x3d'_blank'", r="?";-1!=m&&(r=k.substring(m+1),0b&&(b=c+b,0>b&&(b=0)):b=0;for(var d=b;dc?b=c:0>b&&(b=c+b);for(c=b;0<=c;c--)if(c in this&&this[c]===a)return c;return-1};AdfAgent._arrayFilter=function(a,b){for(var c=[],d=this.length,e=0;e=d){var e=this.getElementLeft(a);if(b>=e)return c<=d+a.offsetHeight&&b<=e+a.offsetWidth}return!1};AdfAgent.prototype.pointInElementOrChildBounds=function(a,b,c){return this.pointInElementBounds(a,b,c)};AdfAgent.getCSSLengthAsInt=function(a){return"number"===typeof a?a:0b&&(b=0);return b};AdfAgent.prototype.getDomForCSSPropertyName=function(a){var b=this.GetCssToDomPropertyNameMap()[a];if(b)return b;a=a.split("-");len=a.length;for(var b=a[0],c=1;cb&&(b=0);return b}; AdfAgent.prototype.getWindowClientWidth=function(a){return a.document.documentElement.clientWidth};AdfAgent.prototype.getWindowClientHeight=function(a){return a.document.documentElement.clientHeight};AdfAgent.prototype.getWindowScrollWidth=function(a){return a.document.documentElement.scrollWidth};AdfAgent.prototype.getWindowScrollHeight=function(a){return a.document.documentElement.scrollHeight};AdfAgent.prototype.getBrowserViewportScrollTop=function(){return this.getDomDocument().documentElement.scrollTop}; AdfAgent.prototype.getBrowserViewportScrollLeft=function(){return this.getDomDocument().documentElement.scrollLeft};AdfAgent.prototype.getOverrideStyle=function(a){var b=a.style;b||(a.setAttribute("style",""),b=a.getAttribute("style"));return b};AdfAgent.prototype.getComputedStyle=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)}; AdfAgent.prototype.copyStyle=function(a,b){AdfAssert.assertDomElement(b);AdfAssert.assertDomElement(a);var c=b.style,d=this.getComputedStyle(a),e=AdfAgent._SETTABLE_STYLE_PROPS;if(null==e){var e=[],f=/^[^0-9]/,g;for(g in d){var h=d[g];if("cssText"!=g&&"function"!=typeof h&&f.test(g)){try{null!=h&&0=d.zIndex||!l&&1>d.zIndex)){var k=e,m=!1,n=this.getElementTop(a);if(n<=c){var p=a.offsetHeight,q=0==p;if(q||n+p>=c)if(n=this.getElementLeft(a),n<=b){var p=a.offsetWidth,r=0==p;if(r||n+p>=b)k=!0,m=!r&&!q,this.pointInElementChrome(a, b,c)&&(m=!0,d.done=!0),m&&(d.target=a)}}if(k&&!d.done){var s,t;m||(t=d.target,s=d.zIndex);l&&(d.zIndex=l);this._elementFromPagePointImpl(a,b,c,d,e,null,g,h);!m&&t==d.target&&(d.zIndex=s)}}}}a=a.nextSibling}};AdfAgent.prototype.getNodeType=function(a){if(a)return a.nodeType};AdfAgent.prototype.getNodeName=function(a){return a.nodeName};AdfAgent.prototype.getLocalName=function(a){return a.localName};AdfAgent.prototype.getNodeXml=function(a){return(new XMLSerializer).serializeToString(a)}; AdfAgent.prototype.getPrefix=function(a){return a.prefix};AdfAgent.prototype.isElementHTML=function(a){AdfAssert.assertDomNode(a);return!0};AdfAgent.prototype.setCssFloat=function(a,b){a.style.cssFloat=b};AdfAgent.prototype.getAttributeName=function(a){return a.name};AdfAgent.prototype.getAttribute=function(a,b){return a.getAttribute(b)};AdfAgent.prototype.hasAttribute=function(a,b){AdfAssert.assertDomElement(a);return a.hasAttribute(b.name)};AdfAgent.prototype.isAttributeSpecified=function(a){return a.specified}; AdfAgent.prototype.replaceNode=function(a,b){return b.parentNode.replaceChild(a,b)};AdfAgent.prototype.setAttribute=function(a,b,c){var d=a[b];(void 0==d||"boolean"!=typeof d||"false"!=c)&&a.setAttribute(b,c)};AdfAgent.prototype.getIntAttribute=function(a,b,c){AdfAssert.assertDomElement(a);void 0==c&&(c=null);a.hasAttribute(b)?(a=a.getAttribute(b),a=parseInt(a),isNaN(a)&&(a=c,AdfLogger.LOGGER.warning("The value of attribute named ",b," cannot be converted into an integer."))):a=c;return a}; AdfAgent.prototype.getBooleanAttribute=function(a,b,c){AdfAssert.assert(a);void 0==c&&(c=null);a=a.getAttribute(b);null==a?a=c:"true"==a?a=!0:"false"==a?a=!1:(a=c,AdfLogger.LOGGER.warning("The value of attribute named ",b," cannot be converted into a boolean."));return a};AdfAgent.prototype.enableUserSelect=function(a){};AdfAgent.prototype.disableUserSelect=function(a){};AdfAgent.prototype.createTouchMoveManager=function(a,b,c){return new AdfTouchMoveManager(a,b,c)}; AdfAgent.prototype.stopPropagation=function(a){a.stopPropagation()};AdfAgent.prototype.preventDefault=function(a){a.preventDefault()};AdfAgent.prototype.isDefaultPrevented=function(a){return a.defaultPrevented};AdfAgent.prototype.eatEvent=function(a){this.stopPropagation(a);this.preventDefault(a)};AdfAgent.prototype.getMousePosition=function(a){return{x:a.pageX,y:a.pageY}}; AdfAgent.prototype.isEventInElement=function(a,b){var c=this.getMousePosition(a),d=this.getElementPosition(b),e=c.x,f=d.x;return e>=f&&e<=f+b.offsetWidth&&(c=c.y,d=d.y,c>=d&&c<=d+b.offsetHeight)?!0:!1};AdfAgent.prototype.getElementPosition=function(a){AdfAssert.assertDomElement(a);var b=a.getBoundingClientRect(),c=b.top,b=b.left;a=a.ownerDocument.documentElement;b-=a.clientLeft-this.getBrowserViewportScrollLeft();c-=a.clientTop-this.getBrowserViewportScrollTop();return{x:b,y:c}}; AdfAgent.prototype.isMouseEvent=function(a){return void 0!=AdfAgent._MOUSE_EVENTS[a.type]};AdfAgent.prototype.isKeyboardEvent=function(a){return null!=a?void 0!=AdfAgent._KEYBOARD_EVENTS[a.type]:!1};AdfAgent.prototype.isChromeEvent=function(a){return!1};AdfAgent.prototype.pointInElementChrome=function(a,b,c){return!1}; AdfAgent.prototype.cloneEvent=function(a,b){if(this.isMouseEvent(a)||this.isKeyboardEvent(a)){var c=a.type,d;this.isMouseEvent(a)?d=this._copyMouseEvent(a,c,b):this.isKeyboardEvent(a)&&(d=this._copyKeyboardEvent(a,c,b));var e=b?b:a.target,f=e.ownerDocument;f.addEventListener(c,this.stopPropagation,!0);try{e.dispatchEvent(d)}finally{f.removeEventListener(c,this.stopPropagation,!0)}return d}return a}; AdfAgent.prototype.copyEvent=function(a){return this.isMouseEvent(a)||"contextmenu"==a.type?newEvent=this._copyMouseEvent(a,a.type):a};AdfAgent.prototype._copyMouseEvent=function(a,b,c){c=(c?c:a.target).ownerDocument;var d=c.createEvent("MouseEvents");d.initMouseEvent(b,a.bubbles,a.cancelable,c.contentWindow,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,a.relatedTarget);return d}; AdfAgent.prototype._copyKeyboardEvent=function(a,b,c){c=(c?c:a.target).ownerDocument.createEvent("Event");c.initEvent(b,!0,!0);c.altGraphKey=a.altGraphKey;c.altKey=a.altKey;c.ctrlKey=a.ctrlKey;c.keyCode=a.keyCode;c.keyIdentifier=a.keyIdentifier;c.keyLocation=a.keyLocation;c.shiftKey=a.shiftKey;c.view=a.view;c.which=a.which;return c};AdfAgent.prototype.dispatchEvent=function(a,b){return a.dispatchEvent(b)}; AdfAgent.prototype.checkMouseOutEvent=function(a,b){var c=!1,c=this.getElementPosition(a),d=this.getMousePosition(b),c=d.x>c.x&&d.xc.y&&d.ya.offsetWidth||a.scrollHeight>a.offsetHeight)return!0;var b=this._document.body;if(a==b||a==this._document)return!1;for(var c=a.offsetParent,d=a.offsetLeft,e=a.offsetTop,f=a.offsetWidth,g=a.offsetHeight,h=this.getComputedStyle(a),k=AdfAgent.getCSSLengthAsInt(h.paddingLeft),l=AdfAgent.getCSSLengthAsInt(h.paddingRight),m=AdfAgent.getCSSLengthAsInt(h.paddingTop),n=AdfAgent.getCSSLengthAsInt(h.paddingBottom),e=e+m,d=d+k,g=g-(m+n),f=f-(k+l),h="absolute"== h.position;c&&c!=b;){if(0c.scrollLeft+c.clientWidth||e+g-2>c.scrollTop+c.clientHeight)if(!h||"visible"!=this.getComputedStyle(c).overflow)return!0}a=c;h=this.getComputedStyle(a);"absolute"==h.position?(k=AdfAgent.getCSSLengthAsInt(h.left),l=AdfAgent.getCSSLengthAsInt(h.top),h=!0):(k=a.offsetLeft,l=a.offsetTop,h=!1);d+=k-a.scrollLeft;e+=l-a.scrollTop;c=c.offsetParent}return!1}; AdfAgent.prototype.getPreferredKeyEventForRepetition=function(){return this.getOS()==AdfAgent.MAC_OS?AdfUIInputEvent.KEY_PRESS_EVENT_TYPE:AdfUIInputEvent.KEY_DOWN_EVENT_TYPE};AdfAgent.prototype.isDisabledOptionSupported=function(){return!0};AdfAgent.prototype.resizeStretchedChild=function(a,b){};AdfAgent.prototype.resizeStretchedElement=function(a,b,c){}; AdfAgent.prototype.prepareStretchedChild=function(a,b){AdfAssert.assert(null!=b,"parent padding not specified");var c=a.style;c.position="absolute";c.width="auto";c.height="auto";c.left=b;c.top=b;c.bottom=b;c.right=b};AdfAgent.prototype.repositionStretchedElement=function(a,b,c,d,e){a&&(a=a.style,b&&(a.top=b),d&&(a.left=d),c&&(a.height="auto",a.bottom=c),e&&(a.width="auto",a.right=e))};AdfAgent.prototype.isEqualIcon=function(a,b){return a.parentNode.innerHTML==b.parentNode.innerHTML}; AdfAgent.prototype.addOption=function(a,b,c,d,e,f,g){var h=this._document.createElement("option");a.options.add(h,g);null!=c&&(h.value=c);b&&AdfAgent.AGENT.setTextContent(h,b);h.selected=d;h.disabled=e;f&&(h.title=f)};AdfAgent.prototype.removeIdsFromDomSubTree=function(a){var b=a.id;null!=b&&""!=b&&(a.id="");a=a.childNodes;for(var b=0,c=a.length;b=AdfAgent._MIN_FIREFOX_VERSION}; AdfAgent._addEventListeners=function(a,b,c,d){AdfAssert.assertDomNode(a);AdfAssert.assertArray(b);AdfAssert.assertFunction(c);AdfAssert.assertBoolean(d);for(var e=b.length,f=0;f=AdfLogger.SEVERE?d.error:e>=AdfLogger.WARNING?d.warn:e>=AdfLogger.INFO?d.info:d.debug,g=a[AdfLogRecord.MESSAGE_FIELD],h=this.FormatWhen(a[AdfLogRecord.WHEN_FIELD]);b?f.call(d,"Message:"+g+"\nError:"+b+"\nWhen: "+h):f.call(d,"Message:"+g+"\nWhen:"+h)}catch(k){this._logInternalError(k,"Error publishing AdfLogRecord")}}; AdfSafariLogWriter.prototype._logInternalError=function(a,b){AdfAssert.assertPrototype(a,Error);this._backupLogWriter.publish(new AdfLogRecord(AdfLogger.WARNING,b,a))};AdfSafariLogWriter.prototype.flush=function(){AdfSafariLogWriter.superclass.flush.call(this)};AdfSafariLogWriter.prototype.close=function(){AdfSafariLogWriter.superclass.close.call(this)}; AdfSafariLogWriter._assertionHook=function(a,b,d){try{var e=window.console;if(e&&e.group&&e.groupEnd&&e.trace){var f=a,f=null==f?"":f+" ",g="Assertion %sfailed ",f=[null,f];null!=d&&(g+=" because %s ",f[2]=d);f[0]=g+"at:";e.group.apply(e,f);e.trace();e.groupEnd()}}catch(h){}return AdfSafariLogWriter._originalAssertionFailed(a,b+1,d)}; function AdfSafariAgent(a,b){this.Init(a,b)}AdfObject.createSubclass(AdfSafariAgent,AdfAgent);AdfSafariAgent.prototype.Init=function(a,b){AdfSafariAgent.superclass.Init.call(this,AdfAgent.WEBKIT_PLATFORM,AdfAgent.guessOS(),a,b)};AdfSafariAgent.prototype.getWindowScrollWidth=function(a){return a.document.body.scrollWidth};AdfSafariAgent.prototype.getWindowScrollHeight=function(a){return a.document.body.scrollHeight};AdfSafariAgent.prototype.getBrowserViewportScrollTop=function(){return this.getDomDocument().body.scrollTop}; AdfSafariAgent.prototype.getBrowserViewportScrollLeft=function(){return this.getDomDocument().body.scrollLeft};AdfSafariAgent.prototype.InitClass=function(){var a=[];a[AdfKeyStroke.CTRL_MASK]="Ctrl";a[AdfKeyStroke.SHIFT_MASK]="Shift";a[AdfKeyStroke.ALT_MASK]="Option";a[AdfKeyStroke.META_MASK]="Cmd";this._MODIFIER_DISPLAY_NAMES=a};AdfSafariAgent.prototype.CreateDefaultLogWriter=function(a){return a}; AdfSafariAgent.prototype.CreateNativeLogWriter=function(){var a=this.getDomWindow();return a.console?new AdfSafariLogWriter(a,new AdfAlertLogWriter):new AdfAlertLogWriter};AdfSafariAgent.prototype.execScript=function(a,b){var d=a.document,e=d.body;if(null==e)with(a)a.eval(b);else{var f=d.createElement("script");f.setAttribute("type","text/javascript");f.appendChild(d.createTextNode(b));e.appendChild(f);e.removeChild(f)}}; AdfSafariAgent.prototype.disableUserSelect=function(a){a.style.setProperty("-webkit-user-select","none")};AdfSafariAgent.prototype.enableUserSelect=function(a){a.style.setProperty("-webkit-user-select","")};AdfSafariAgent.prototype.getBoxSizing=function(a,b){b||(b=this.getComputedStyle(a));return b.getPropertyValue("-webkit-box-sizing")};AdfSafariAgent.prototype.getModifierDisplayName=function(a){return this.getOs()!=AdfAgent.MAC_OS?AdfSafariAgent.superclass.getModifierDisplayName.call(this,a):AdfSafariAgent._MODIFIER_DISPLAY_NAMES[a]}; AdfSafariAgent.prototype.isSessionStorageEnabled=function(){if(void 0===this._isSessionStorageEnabled)try{sessionStorage.setItem("_adfTestKey","on"),sessionStorage.removeItem("_adfTestKey"),this._isSessionStorageEnabled=!0}catch(a){"QUOTA_EXCEEDED_ERR"===a.name&&22==a.code?AdfLogger.LOGGER.fine("Access to sessionStorage has been disabled because 'private browsing' is enabled. As a result user activity monitoring has been disabled. Name: "+a.name+", Message: "+a.message):AdfLogger.LOGGER.fine("Access to sessionStorage failed for some unexpected reason. As a result user activity monitoring has been disabled. Name: "+ a.name+", Message: "+a.message),this._isSessionStorageEnabled=!1}return this._isSessionStorageEnabled};AdfSafariAgent.prototype.CreateUIInputEvent=function(a,b,d){return new AdfSafariUIInputEvent(a,b,d)}; AdfSafariAgent.prototype.cloneEvent=function(a,b){var d=a.type;if("load"==d){if(-1==navigator.userAgent.toLowerCase().indexOf("chrome"))return AdfSafariAgent.superclass.cloneEvent.call(this,a,b);var e=b?b:a.target,f=e.ownerDocument,g=f.createEvent("Event");g.initEvent("click",!1,!1);f.addEventListener(d,this.stopPropagation,!0);e.dispatchEvent(g);f.removeEventListener(d,this.stopPropagation,!0);return g}return AdfSafariAgent.superclass.cloneEvent.call(this,a,b)}; AdfSafariAgent.prototype.slice=function(a,b,d){if(!("undefined"===typeof Blob||"undefined"===typeof Blob.prototype.slice&&"undefined"===typeof Blob.prototype.webkitSlice)){if(null==a)return null;if(a.slice)return a.slice(b,d);if(a.webkitSlice)return a.webkitSlice(b,d)}}; function AdfSafariNavigationHistoryAgent(){this.Init()}AdfObject.createSubclass(AdfSafariNavigationHistoryAgent,AdfNavigationHistoryAgent);AdfSafariNavigationHistoryAgent.InitClass=function(){this._TIMER_INTERVAL=300};AdfSafariNavigationHistoryAgent.prototype.StartTrackingUriImpl=function(a){AdfSafariNavigationHistoryAgent.superclass.StartTrackingUriImpl.call(this,a);this._timerId=this.GetDomWindow().setInterval(AdfSafariNavigationHistoryAgent._checkURI,AdfSafariNavigationHistoryAgent._TIMER_INTERVAL)}; AdfSafariNavigationHistoryAgent.prototype.dispose=function(){this._timerId&&this.GetDomWindow().clearInterval(this._timerId)};AdfSafariNavigationHistoryAgent._checkURI=function(){AdfNavigationHistoryAgent.getInstance().ValidateCurrentView()}; function AdfPage(){}AdfPage.setInstance=function(a){AdfPage.PAGE=AdfPage.PAGE=a};AdfPage._NEW_WINDOW_NAME="RichPageMain";AdfPage.CREATE_VIEW_PHASE="createViewPhase";AdfPage.UPDATE_VIEW_PHASE="updateViewPhase";AdfPage.DELIVER_EVENTS_PHASE="deliverEventsPhase";AdfPage.WAITING_FOR_USER_INPUT_PHASE="waitingForUserInputPhase";AdfPage.EDITABLE_SUBTREE_PROPERTY="editableSubtree";AdfPage.SELECTED_EDITING_COMPONENTS_PROPERTY="selectedEditingComponents";AdfPage.EDITED_COMPONENT_PROPERTY="editedComponent"; AdfPage.ACTIVE_COMPONENT_PROPERTY="activeComponent";AdfObject.createSubclass(AdfPage);AdfPage.prototype.setPageProperty=function(a,b){AdfAssert.failedInAbstractFunction()};AdfPage.prototype.getPageProperty=function(a){AdfAssert.failedInAbstractFunction()};AdfPage.prototype.setDefaultMessageHandlerComponentId=function(a,b){};AdfPage.prototype.getDefaultMessageHandlerComponentId=function(){};AdfPage.prototype.getMessageHandlerSlaveComponentId=function(){};AdfPage.prototype.getPhase=function(){return this._phase}; AdfPage.prototype.addPartialTargets=function(a){AdfAssert.failedInAbstractFunction()};AdfPage.prototype.getComponentsByType=function(a){AdfAssert.failedInAbstractFunction()};AdfPage.prototype.matchComponents=function(a,b){AdfAssert.failedInAbstractFunction()};AdfPage.prototype.reduceMatchedComponents=function(a,b,c){AdfAssert.assertFunction(b);var d=[];if(!a)return d;void 0===c&&(c=this);for(var e=a.length,f=0;fAdfLogger.INFO&&d.setLevel(AdfLogger.INFO),AdfLogger.PROFILER_LOGGER=AdfLogger.PROFILER_LOGGER=d,AdfLogger.PROFILER_LOGGER.register();this._haveOutstandingPPRRequest=!1;this._perfProfileLogClosed= !0;this._loadingComponents=[];this._dirtyStateService=new AdfDirtyStateService(this);this._scriptLoadingPolicy=this._componentsUpdatedByPollEvent=null;this._windowDetectionStrategy="aggressive";this._poppedUpComponentInfo={};this._isHighContrast=this._seleniumRC=!1};AdfDhtmlPage.prototype.isPageFullyLoaded=function(){return this.isSynchronizedWithServer()};AdfDhtmlPage.prototype.isPageOnloadCalled=function(){return this._initializationComplete};AdfDhtmlPage.prototype.getDirtyStateService=function(){return this._dirtyStateService}; AdfDhtmlPage.prototype.isSynchronizedWithServer=function(){this._throwAndClearSavedErrors();return null==this.whyIsNotSynchronizedWithServer()}; AdfDhtmlPage.prototype.whyIsNotSynchronizedWithServer=function(a){var b=this.isAutomationEnabled();if(b&&a&&(a=AdfDhtmlRichDialogService.whyIsNotDialogSynchronizedWithServer(a))&&AdfAutomationHelper.WAIT_REASONS.NO_SUCH_DIALOG_ERROR.reason!==a.reason)return a;a={};var d=AdfAutomationHelper.CONFIG;a[d.AUTOMATION_ENABLED]=b;a[d.DTS]=this.getDataTransferService();a[d.PHASE]=this.getPhase();a[d.EVENT_QUEUE_LENGTH]=this._eventQueue.length;a[d.IS_ATTACHMENT_MODE]=this.isAttachmentMode();a[d.INITIALIZATION_COMPLETE]= this._initializationComplete;a[d.PARTIAL_TARGETS]=this._partialTargets;a[d.START_ADS_CLIENT_ID_COUNT]=this._startADSClientIdCount;a[d.WINDOW_EVENT_HEADER_MAP]=this._windowEventHeaderMap;a[d.IN_HANDLE_RICH_RESPONSE]=this._inHandleRichResponse;a[d.PARTIAL_REQUEST_REDIRECT]=this._partialRequestRedirect;a[d.IN_DELIVER_QUEUED_SERVER_EVENTS]=this._inDeliverQueuedServerEvents;a[d.IN_DELIVER_QUEUED_EVENTS]=this._inDeliverQueuedEvents;a[d.WAITING_FOR_DOCUMENT_UNLOAD]=this._waitingForDocumentUnload;a[d.ARE_COMPONENTS_LOADED]= this._areComponentsLoaded();a[d.WAITING_FOR_DESCENDANT_RESIZE]=this._waitingForDescendantResize();a[d.WAITING_FOR_INCOMPLETE_IMAGES]=this._waitingForIncompleteImages();a[d.HAS_EVENTS_TO_DELIVER]=this._serverQueue.hasEventsToDeliver();a[d.WAITING_FOR_ANIMATION]=this._waitingForAnimation();a[d.ARE_SYNCHRONOUS_TIMERS_CLEARED]=this._areSynchronousTimersCleared();a[d.IN_GET_REQUEST_NAVIGATION]=this._inGetRequestNavigation;a[d.TIMERS]=AdfDhtmlPage._timers;return AdfAutomationHelper.getInstance().whyIsNotSynchronizedWithServer(a)}; AdfDhtmlPage.prototype.getFailedConnectionText=function(){var a=AdfDhtmlPage.superclass.getFailedConnectionText.call(this);null==a&&(a=this.getLookAndFeel().getTranslatedString("af_document.MSG_FAILED_CONNECTION"));return a};AdfDhtmlPage.prototype.registerLoadingComponent=function(a){a=a.getClientId();AdfAssert.assert(-1==AdfCollections.indexOf(this._loadingComponents,a),"Component already registered");this._loadingComponents.push(a)}; AdfDhtmlPage.prototype.unregisterLoadingComponent=function(a){AdfCollections.removeArrayValue(this._loadingComponents,a.getClientId())};AdfDhtmlPage.prototype._areComponentsLoaded=function(){for(var a=this._loadingComponents,b=a.length,d=0;de?-1:de?delete b[a]:d[AdfDhtmlPage.TIMER_DOM_ID]=AdfPage.PAGE.getDomWindow().setTimeout("AdfDhtmlPage.__callTimerCallback("+a+");",e)}}}; AdfDhtmlPage.prototype._getAndClearDeltas=function(a){var b=this.GetChangedComponents();if(null==b)return null;var d=Array(50),e=!1,f=AdfStrings.COMMA,g=AdfStrings.EQUALS,h=AdfStrings.START_CURLY_BRACKET,k=AdfStrings.CLOSE_CURLY_BRACKET,l;for(l in b){var m=b[l];if(!m.getPeer()){var n=m.getClientId();(n=this.findComponent(n))&&(m=n)}var n=!1,p=m.GetChanges(),q;for(q in p){n?d.push(f):(e?d.push(f):(d.push(h),e=!0),d.push(m.getClientId()),d.push("\x3d{"),n=!0);var r=p[q],s=q.length-2;q.lastIndexOf(AdfUIComponent._FLAG_PERSISTENCE)== s&&q.substr(0,s);null!=r&&(r=r instanceof Date?AdfAgent.AGENT.toISOString(r):r.toString().replace(/\{/g,"%7B").replace(/\}/g,"%7D").replace(/\,/g,"%2C").replace(/\=/g,"%3D"));d.push(q);d.push(g);d.push(r)}n&&d.push(k)}e&&d.push(k);a&&this.ClearChangesList();return d.join("")};AdfDhtmlPage.prototype.getResourceURL=function(a){return"//"==a.substring(0,2)?a.substring(1):"/"==a.charAt(0)?this._baseResourceUrl+a:a}; AdfDhtmlPage.prototype.removeResourceURL=function(a){var b=this._baseResourceUrl,d=a.indexOf(b);return 0<=d?a.substr(d+b.length):"/"==a.charAt(0)?"/"+a:a};AdfDhtmlPage._disposeIFrames=function(a){a=a.getElementsByTagName("iframe");for(var b=a.length-1;0<=b;b--){var d=a[b];d.parentNode.removeChild(d)}};AdfDhtmlPage._forceGC=function(a){for(var b=Array(a),d=0;df;f++)e[f]=f;b[d]=e}}; AdfDhtmlPage.prototype._onSelectStart=function(){if(this.isDragging())return!1;var a=this.getDnDContext();return!(a&&a.isDragging())};AdfDhtmlPage.prototype._handleResize=function(){AdfAgent.AGENT.getPlatform()==AdfAgent.IE_PLATFORM?this._resizePending||(this._resizePending=!0,setTimeout(this._getDelayedResizeCallback(),AdfDhtmlPage._DELAYED_RESIZE_TIMEOUT)):this._onResize()}; AdfDhtmlPage.prototype._getDelayedResizeCallback=function(){this._delayedResizeCallback||(this._delayedResizeCallback=this.createCallback(this._delayedOnResize));return this._delayedResizeCallback};AdfDhtmlPage.prototype._delayedOnResize=function(){this._resizePending=!1;this._onResize()}; AdfDhtmlPage.prototype._onResize=function(){if(this.getPhase()!=AdfPage.CREATE_VIEW_PHASE){this._positionGlassPane(!1);var a=AdfDhtmlPage._BROWSER_RESIZE_CHECKPOINT.start();AdfDhtmlPage._doResizeNotify(this._resizeNotifyTree,!1);AdfDhtmlPage._BROWSER_RESIZE_CHECKPOINT.stop(a)}}; AdfDhtmlPage.prototype.startDrag=function(a,b,d,e,f){var g=AdfAgent.AGENT;a=g.getMousePosition(a);this._dragStartX=a.x;this._dragStartY=a.y;this._dragLastX=this._dragStartX;this._dragLastY=this._dragStartY;this._moveCallback=b;this._dropCallback=d;this._abortCallback=e;(this._dragHideGlassPane=f)?this.showGlassPane(this._dragDropCallbacks,"auto"):(b=this._dragDropCallbacks,g.startMouseEventCapture(b),this._keyCaptureState=g.startDocumentKeyEventCapture(b,this._document.documentElement))}; AdfDhtmlPage.prototype._dragMouseMove=function(a){var b=this._moveCallback,d=AdfAgent.AGENT.getMousePosition(a);b&&b(a,d.x-this._dragLastX,d.y-this._dragLastY);this._dragLastX=d.x;this._dragLastY=d.y};AdfDhtmlPage.prototype._dragMouseUp=function(a){var b=this._dropCallback,d=AdfAgent.AGENT.getMousePosition(a);this.stopDrag();b&&b(a,d.x-this._dragStartX,d.y-this._dragStartY);this._dragLastX=d.x;this._dragLastY=d.y}; AdfDhtmlPage.prototype._dragKeyDown=function(a){if(a.keyCode==AdfKeyStroke.ESC_KEY){var b=this._abortCallback;if(b)return this.stopDrag(),b(),AdfAgent.AGENT.eatEvent(a),!1}}; AdfDhtmlPage.prototype.stopDrag=function(){if(this._dragHideGlassPane)this.hideGlassPane(this._dragDropCallbacks);else{var a=AdfAgent.AGENT,b=this._dragDropCallbacks;a.stopMouseEventCapture(b);var d=a.getPlatform()==AdfAgent.IE_PLATFORM?this._keyCaptureState:null;delete this._keyCaptureState;a.endDocumentKeyEventCapture(b,this._document.documentElement,d)}this._abortCallback=this._dropCallback=this._moveCallback=null};AdfDhtmlPage.prototype.isDragging=function(){return this._moveCallback?!0:!1}; AdfDhtmlPage.prototype.setOnLoadCallback=function(a){this._onLoadCallback=a};AdfDhtmlPage.prototype.preloadImages=function(){this._preloadImages=!0};AdfDhtmlPage.prototype.getActiveComponentId=function(){return this._activeComponentId};AdfDhtmlPage.prototype._setActiveComponentId=function(a){var b=null!=a?AdfAgent.AGENT.getElementById(a):null;this.__setActiveDomNodeInfo(b,a)};AdfDhtmlPage.prototype.getActiveDomElement=function(){return this._activeDomNode}; AdfDhtmlPage.prototype.getActiveComponent=function(){var a=this._activeComponentId;return null!=a?this.findComponent(a):null}; AdfDhtmlPage.prototype.__setActiveDomNodeInfo=function(a,b){AdfAssert.assertDomNodeOrNull(a);AdfAssert.assertStringOrNull(b);void 0===a&&(a=null);var d=this.getActiveComponent(),e=this._activeDomNode;if(AdfAgent.AGENT.getPlatform()==AdfAgent.IE_PLATFORM&&(e&&a&&"BODY"==a.tagName)&&this.getZOrderManager().containsElement(e))return AdfFocusUtils.focusElementDelayed(e,1),!1;this._activeDomNode=a;this._activeComponentId=b;AdfEventUtils.firePropertyChangeEvent(this._propertyChangeListeners,this,AdfDhtmlPage.ACTIVE_DOM_ELEMENT_PROPERTY, e,a);AdfEventUtils.firePropertyChangeEvent(this._propertyChangeListeners,this,AdfPage.ACTIVE_COMPONENT_PROPERTY,d,this.getActiveComponent());return!0}; AdfDhtmlPage.prototype.queueEvent=function(a){if(a){AdfAssert.assertPrototype(a,AdfBaseEvent);var b=a.getType();if(!0==this._partialRequestRedirect&&AdfRedirectEvent.REDIRECT_EVENT_TYPE!=b)AdfLogger.LOGGER.info("Redirect in progress... refusing to queue event : ",a);else{(AdfValueChangeEvent.VALUE_CHANGE_TYPE==b||AdfSubmittedValueChangedEvent.SUBMITTED_VALUE_CHANGED_TYPE==b)&&this._dirtyStateService.__handleValueChangeEvent(a);!0==a.propagatesToServer()&&(void 0!==this._haveOutstandingPPRRequest&& !0==this._haveOutstandingPPRRequest?this.__perfTimings(!1,!1,!0,"user click event : ",a):this.__perfTimings(!0,!0,!0,"user click event: ",a));AdfDhtmlPage._MSG_RESET_CLIENT_AND_SERVER===this._globalMessagesResetStrategy&&a.getClearMessages()&&(AdfLogger.LOGGER.fine("Page level messages cleared by the following event: ",a),b=this._resolveMessageComponentId(null,!1),AdfPage.PAGE.clearMessages(b));if(a.isValidationNeeded()){AdfLogger.LOGGER.fine("Client validation triggered by the following event: ", a);var b=a.getSource(),d=a.isImmediate();if(!this._processValidators(b,b.getEventRoots(a),d)){a.cancel();this.showMessages();AdfLogger.LOGGER.info("Client validation failed. The following event that triggered the validation was not queued as a result: ",a);return}}this._eventQueue.push(a);this.getPhase()!=AdfPage.DELIVER_EVENTS_PHASE&&this.__queueEventTimerIfNeeded()}}};AdfDhtmlPage.prototype.__queueEventTimerIfNeeded=function(a){this._updateDeliveryTimer(a)}; AdfDhtmlPage.prototype.queueEventToServer=function(a){AdfAssert.assert(!this._inDeliverQueuedServerEvents);if(a)if(AdfAssert.assertPrototype(a,AdfBaseEvent),!0==this._partialRequestRedirect&&AdfRedirectEvent.REDIRECT_EVENT_TYPE!=a.getType())AdfLogger.LOGGER.info("Redirect in progress... refusing to queue event : ",a);else{if(a.isResponseExpected()&&0==a.getMaxTimeBeforePropagation()){var b=a.getSource(),d=b.getClientId(),e=this._busyCounts,f=e[d];f||(f=0,b.getPeer()&&b.getPeer().setBusy(b,!0));e[d]= f+1}this._serverQueue.push(a);this.getPhase()!=AdfPage.DELIVER_EVENTS_PHASE&&this.__queueEventTimerIfNeeded()}};AdfDhtmlPage.__setNonHtmlResponse=function(a){a.forceFullSubmit();a.noResponseExpected()};AdfDhtmlPage.__setNonHtmlResponsePartialSubmit=function(a){a.setPartial(!0);a.noResponseExpected()};AdfDhtmlPage.__scrollComponentIntoView=function(a,b){AdfPage.PAGE.scheduleTimer(AdfPage.PAGE,AdfDhtmlPage._scrollComponentIntoView,{clientId:a,focus:b},100)};AdfDhtmlPage._scrollComponentIntoView=function(a){AdfPage.PAGE.findComponent(a.clientId).scrollIntoView(a.focus)}; AdfDhtmlPage.prototype._processValidators=function(a,b,d){var e=!0;if(null==b)return e;var f=a.getClientId(),g=f.lastIndexOf(":");for(a=[];0a)a=50;var b=!1,d=(new Date).getTime()+a;void 0!==this._eventDispatcherID&&(AdfAssert.assert(void 0!==this._eventDispatcherTargetTime),this._eventDispatcherTargetTime>d?this.cancelTimer(this._eventDispatcherID):b=!0);b||(this._eventDispatcherTargetTime=d,b={},15E3>=a&&(b={isSynchronized:"true"}),this._eventDispatcherID=this.scheduleTimer(this,AdfDhtmlPage._timerDeliverEvents,null,a,b))}; AdfDhtmlPage.prototype._eventLoopDeliverEvents=function(){this._deliverAllQueuedEvents();var a=this._serverQueue.getWaitingTimeout();0<=a?this._updateDeliveryTimer(a):void 0!==this._eventDispatcherID&&(this.cancelTimer(this._eventDispatcherID),this._eventDispatcherTargetTime=this._eventDispatcherID=void 0)};AdfDhtmlPage.prototype._deliverAllQueuedEvents=function(){this._deliverQueuedEvents();this.getDataTransferService().getDTSState()==AdfDataTransferService.STATE_READY&&this._deliverQueuedServerEvents()}; AdfDhtmlPage.prototype._deliverQueuedEvents=function(){if(!this._inDeliverQueuedEvents){var a=this._eventQueue;try{this._inDeliverQueuedEvents=!0;do{var b=a.shift();if(!b)break;b instanceof AdfUIInputEvent||AdfLogger.LOGGER.fine("Broadcasting:",b);b.getSource().broadcast(b)}while(1)}finally{this._inDeliverQueuedEvents=!1}}};AdfDhtmlPage.prototype._findFirstAdfForm=function(){for(var a=this.getDomDocument().forms,b=a.length,d=0;d=e.callbacks.length?delete this._keyStrokeToCallbackMap[d]:(delete e.callbacks[b],delete e.callbackContexts[b])}else delete this._keyStrokeToCallbackMap[d],delete this._keyStrokeToCallbackContextMap[d]};AdfDhtmlPage.prototype.pageIdNotSavedWithURI=function(){this._notSavingPageId=!0}; AdfDhtmlPage.prototype.setPageStateId=function(a){this._addPageStateIdField(a);this._pageStateId=a;!this.isPortlet()&&(!this._notSavingPageId&&!this._pprNavPending)&&AdfNavigationHistoryAgent.getInstance().setPageId(a)};AdfDhtmlPage.prototype.getPageStateId=function(){return this._pageStateId}; AdfDhtmlPage.prototype._addPageStateIdField=function(a){for(var b=this.getDomDocument(),d=b.forms.length,e=0;ea.indexOf("?")?"?":"\x26",b+=AdfDhtmlPage._ECID,b=b+"\x3d"+encodeURIComponent(d));return b}; AdfDhtmlPage.prototype._getPPRURL=function(a){var b=AdfAgent.AGENT.getAttribute(a,AdfDhtmlPage._CUSTOM_PPR_URL_EXPANDO);a=null!=b?b:a.action;if(!a||""==a)a=this.getDomDocument(),a=a[AdfDhtmlPage._CUSTOM_PPR_URL_EXPANDO]?a[AdfDhtmlPage._CUSTOM_PPR_URL_EXPANDO]:a.location.href;!this.isPortlet()&&this.shouldTracePPRRequestId()&&(a=this._appendResponseId(a));return a}; AdfDhtmlPage.prototype._getPostbackContent=function(a,b,d){AdfAssert.assertDomElementOrNull(a,"FORM");AdfAssert.assertObjectOrNull(b);a=this._collectPostbackParams(a,d);AdfCollections.copyInto(a,b);return this._toUrlEncodedForm(a)}; AdfDhtmlPage.prototype._collectPostbackParams=function(a,b){var d={},e=this._getEditableEventTargetComponents(b);if(null!=a){var f=a.elements;if(f)for(var g=0;gthis._incompleteImageTimerAttempts?(this._incompleteImageTimerAttempts++,this._incompleteImageTimer=this.scheduleTimer(this,this._attemptToRelayoutForNewlyCompleteImages,null,500),this._incompleteImageCount=b):(0=d&&(b=d-1);for(var d=AdfAgent.AGENT,e={},f=0;f<=b;f++){var g=d.getElementById(a[f].id);if(null!=g){var h=AdfDomUtils.getFirstFilteredElement(g,!1,AdfFocusUtils.acceptFocusableNode,e);h||(h=AdfDomUtils.getNextFilteredElement(g,g.parentNode,!0,AdfFocusUtils.acceptFocusableNode,e))||(h=AdfDomUtils.getPreviousFilteredElement(g,g.parentNode,AdfFocusUtils.acceptFocusableNode, e));if(h){AdfFocusUtils.focusElement(h);break}}}};AdfDhtmlPage.prototype._getProcessedRootsInfo=function(a){var b;if((a=AdfDomUtils.getFirstDescendentElement(a,"extension"))&&"adf-processed-roots-ext"===a.getAttribute("id")){b={processedClientIds:null,immediateOnly:!1};if(void 0===a.hasAttribute||a.hasAttribute&&a.hasAttribute("processed")){var d=a.getAttribute("processed");d&&(b.processedClientIds=d.split(" "))}a=a.getAttribute("immediateOnly");b.immediateOnly="true"===a}return b}; AdfDhtmlPage.prototype._removeProcessedRootsFromDirtyValues=function(a,b,d,e){var f=AdfAgent.AGENT,g;for(g in d){var h=f.getElementById(g);if(h){if(!AdfUIUtils.compareValues(e[g],AdfPage.PAGE.findComponent(g).getSubmittedValue())&&(!b||this._isImmediateEditableValueComponent(g)))if(a)for(var k=a.length,l=0;l=Math.floor(a.getVersion())?this.scheduleTimer(this,this._prepareForIncompleteImages,null,10):this._prepareForIncompleteImages();0=AdfFacesMessage.TYPE_ERROR&&(this._richPostbackHasErrors=!0);f.sorted[d]||(f.sorted[d]=[]);f.push(b);f.sorted[d].push(b);d>f.maxType&&(f.maxType=d);b=this.getMessageHandlerSlaveComponentId();b=this.findComponent(null!=b?b:this.getDefaultMessageHandlerComponentId());b=b.getGlobalOnly?b.getGlobalOnly():!1;var g=this._global_max_msg_type;if(!g||d>g)if(null==d)delete this._global_max_msg_type; else if(g=this._resolveMessageComponentId(null,!1),(a=null==a||a==g)||!a&&!b)this._global_max_msg_type=d;this._notifyComponentMessaging(e,f)};AdfDhtmlPage.prototype.showMessages=function(a){a=this._resolveMessageComponentId(a,!0);var b=this.getAllMessages()[a];a=this.findComponent(a);if(null!=a){var d=a.getPeer();d.bind(a);null!=b?d.messageShow(a,b.maxType,b):d.messageShow(a)}};AdfDhtmlPage.prototype.getMessages=function(a){a=this._resolveMessageComponentId(a,!0);return this._messages[a]}; AdfDhtmlPage.prototype.getAllMessages=function(){var a=this._messages,b=this.getDefaultMessageHandlerComponentId(),d={};for(messageId in a){var e=this.findComponent(messageId);if(null==e)AdfLogger.LOGGER.info("AdfDhtmlPage.getAllMessages: ignoring messages for non-existing component: ",e);else if(b==messageId)d[messageId]=a[messageId];else{var f=AdfRichUIPeer.getDomElementForComponent(e);AdfDomUtils.isInVisibleSubtree(f)?d[messageId]=a[messageId]:AdfLogger.LOGGER.info("AdfDhtmlPage.getAllMessages: ignoring messages for hidden component: ", e)}}return d};AdfDhtmlPage.prototype.getClientIdsWithMessages=function(a){var b=[],d=this._messages,e=this._defaultMessageKey,f;null!=a&&(f=this._getSubtreeRootNode(a));for(var g in d)!f&&g==e?b.push(null):(d=this.findComponent(g),null!=d&&(d=AdfRichUIPeer.getDomElementForComponent(d),AdfDomUtils.isInVisibleSubtree(d)&&(null==f||a==g||AdfDomUtils.isAncestor(f,d))&&b.push(g)));return b};AdfDhtmlPage.prototype.__setGlobalMessagesResetStrategy=function(a){this._globalMessagesResetStrategy=a}; AdfDhtmlPage.prototype.clearMessages=function(a){a=this._resolveMessageComponentId(a,!1);null!=this._messages[a]&&(delete this._messages[a],delete this._global_max_msg_type,this._notifyComponentMessaging(a,null));this._clearDelayedMessages(a)};AdfDhtmlPage.prototype.clearAllMessages=function(){var a=[],b;for(b in this._messages)a.push(b);this._messages={};this._messages={dirtyComponentsToRender:[]};delete this._global_max_msg_type;for(var d in a)this._notifyComponentMessaging(a[d],null);this._clearAllDelayedMessages()}; AdfDhtmlPage.prototype.hasMessages=function(a){return null!=this.getMessages(a)};AdfDhtmlPage.prototype._getSubtreeRootNode=function(a){var b=AdfPage.PAGE.findComponent(a);return b&&b instanceof AdfRichPopup?AdfDhtmlPopupPeer.getContentDom(b):AdfAgent.AGENT.getElementById(a)}; AdfDhtmlPage.prototype.clearSubtreeMessages=function(a){var b=this.getClientIdsWithMessages();if(b){var d=AdfAgent.AGENT,e=this._getSubtreeRootNode(a);if(e)for(var f=0;fa))a=f.maxType}null!=a&&(this._global_max_msg_type=a)}return a}; AdfDhtmlPage.prototype._notifyComponentMessaging=function(a){var b=this._messages[a];if(a!=this._defaultMessageKey){if(null!=AdfAgent.AGENT.getElementById(AdfDhtmlPage._FOR_CONTAINER_PREFIX+a)){null!=b&&(b.overridden=!0);var d=this._messages.dirtyComponentsToRender;0>d.indexOf(a)&&d.push(a);this._messageNotifyTimeOut||(this._messageNotifyTimeOut=this.scheduleTimer(this,this._flushMessageComponentNotifications,null,200,{isSynchronized:!0}))}a=this.findComponent(a);if(null!=a){d=a.getPeer();d.bind(a); null!=b?d.messageNotify(a,b.maxType,b):d.messageNotify(a);d=!a.dontPropagateDescendantMessageChanges();for(a=a.getParent();a&&d;)(d=a.getPeer())&&d.descendantMessageChanged(a),d=!a.dontPropagateDescendantMessageChanges(),a=a.getParent()}}this._updateCombinedMessageHandler(b)};AdfDhtmlPage.prototype._updateCombinedMessageHandler=function(a){var b=this.findComponent(this._defaultMessageKey);null!=b&&(peer=b.getPeer(),peer.bind(b),peer.messageNotify(b,this._getMaxType(),a))}; AdfDhtmlPage.prototype._flushMessageComponentNotifications=function(){for(var a=this._messages.dirtyComponentsToRender,b=a&&a.length||0,d=0;d=d||"\x3e"!=a.charAt(d-1))return null;var e=null,f="\x3c/"+b,g=f.length;d>g+1&&f==a.substr(d-g-1,g)&&(d=a.lastIndexOf("\x3c?xml"),0<=d&&(e=AdfAgent.AGENT.parseXML(a.substring(d))));return e}; AdfDhtmlPage.prototype.__initUncommittedDataWarningForDocument=function(a){this._warnUncommitted=a;this._resetUncommittedIds()};AdfDhtmlPage.prototype.__enableDirtyPostbackPayloads=function(){this._dirtyPostbackPayloads=!0;this._resetUncommittedIds()};AdfDhtmlPage.prototype.__isDirtyPostbackPayloadsEnabled=function(){return this._dirtyPostbackPayloads};AdfDhtmlPage.prototype._isTrackingDirtyData=function(){return!0}; AdfDhtmlPage.prototype._shouldPostbackValue=function(a,b){if(this._dirtyPostbackPayloads){var d=this._mapInputElementToComponent(a);return null==d||null!=d.getProperty("_afrFullPost")||!(d instanceof AdfUIEditableValue)||!d.isConvertible()||!d.getValid()||this._dirtyStateService.isDirty(d)||this._dirtyStateService.__isInputValueDirty(this,d,a)||-1 to call method Location.toString on b?-1:(new Date).getTime()+b;0a?f:Math.min(a,f),a=Math.max(0,a))}return a};AdfServerEventQueue.prototype.validate=function(){AdfServerEventQueue._scrubEvents(this._serverEventQueue)}; AdfServerEventQueue._scrubEvents=function(a){for(var b=AdfPage.PAGE,d=0;d